import { IsNumber } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class PageDto {
  @IsNumber()
  @ApiProperty({ description: '当前页' })
  page: number;
  @IsNumber()
  @ApiProperty({ description: '条数' })
  limit: number;
}
